package com.jvyou.app.common.constants;

/**
 * Redis 缓存 key
 *
 * @author 橘柚
 * @since 2025/1/6 23:37
 */
public class RedisKey {
    /**
     * Sa-Token 缓存在 session 里面的 LoginUser 变量的Key
     */
    public static final String LOGIN_USER_KEY = "login:user:";

    /**
     * 短信验证码缓存key
     */
    public static final String SMS_CODE_KEY = "sms:code:";

    /**
     * 短信验证码发送限制缓存key
     */
    public static final String SMS_LIMIT_KEY = "sms:limit:";

    /**
     * 生成重置密码临时标识
     */
    public static final String SMS_OP_TOKEN = "sms:op:token:";

    /**
     * 热门搜索
     */
    public static final String HOT_SEARCH_KEY = "hot:search:";

}
